import axios from "./index";
import type { Ref } from "vue";
//获取秒杀列表
export function getseckilllist() {
  return axios.get("/pro/seckilllist");
}
//获取商品列表
export function getListf(count:Ref<number>,limitNum:Ref<number>){
  return axios.get("/pro/list",{
    params:{
      count,
      limitNum,
    }
  })
}
//获取轮播图数据
export function getswiper() {
  return axios.get("/banner/list");
}